<?php
/* @var $this AlarmController */
/* @var $model ActAlarm */
?>

<?php
$this->breadcrumbs=[
	'闹钟提醒日志管理'=>['index'],
	$model->id,
];

$this->menu=[
	['icon' => 'glyphicon glyphicon-home','label'=>'Manage ActAlarm', 'url'=>['admin']],
	['icon' => 'glyphicon glyphicon-plus-sign','label'=>'Create ActAlarm', 'url'=>['create']],
	['icon' => 'glyphicon glyphicon-edit','label'=>'Update ActAlarm', 'url'=>['update', 'id'=>$model->id]],
	['icon' => 'glyphicon glyphicon-minus-sign','label'=>'Delete ActAlarm', 'url'=>'#', 'linkOptions'=>['submit'=>['delete','id'=>$model->id],'confirm'=>'Are you sure you want to delete this item?']],
];

$this->pageTitle='';
$this->pageSubTitle='';


?>

<div class="row">
	<div class="col-lg-12">
		<div class="panel panel-success">
			<div class="panel-heading">
				<h4>详情</h4>
			</div>
			<div class="panel-body">
				<?php $this->widget('zii.widgets.CDetailView',[
				'htmlOptions' => [
				'class' => 'table table-striped table-condensed table-hover',
				],
				'data'=>$model,
				'attributes'=>[
						'id',
		array(
			'name'=>'from_user_id',
			'value'=>CHtml::value($model,"from_user.nickname")."(".CHtml::value($model,"from_user.mobile").")"
		),
		['name'=>'gender','value'=>$model->getType($model->gender)],
		'clock_time',
		'clock_cycle',
		'create_time',
		'ip',
// 		'voice_gender',
// 		'voice_id',
// 		'voice_user_id',
// 		'from_mobile',
// 		'status',
				],
				]); ?>
			</div> <!-- end panel-body -->
		</div>
	</div>
</div> <!-- end row -->